package com.bh.order.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.order.domain.JcOrderBack;
import com.bh.order.vo.JcBackOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 运单回单Mapper接口
 *
 * @author slx
 * @date 2023-04-22
 */
@Mapper
public interface JcOrderBackMapper extends RootMapper<JcOrderBack> {

    /**
     * 查询运单回单列表
     *
     * @param jcOrderBack 运单回单
     * @return 运单回单集合
     */
    public List<JcOrderBack> selectJcOrderBackList(JcOrderBack jcOrderBack);

    /**
     * 查询运单回单列表
     *
     * @param jcOrderBack 运单回单
     * @return 运单回单集合
     */
    public List<JcBackOrderVO> selectYqsJcOrderBackList(JcBackOrderVO jcOrderBack);

    /**
     * 查询运单回单列表
     * @param orderId
     * @return
     */
    public List<JcOrderBack> selectJcOrderBackListByOrderId(@Param("orderId") Long orderId);
}
